package com.zhiwei.codesecurity.entity;

import java.util.Date;

public class AppVersion  {

    private static final long serialVersionUID = 4340525752395681830L;

    /**
     *流水号
     */
    private Long id;

    /**
     *版本号
     */
    private Integer version;

    /**
     *内部版本名称
     */
    private String inVerName;

    /**
     *外部版本名称
     */
    private String outVerName;

    /**
     *标题
     */
    private String title;

    /**
     *强制更新最低版本
     */
    private Integer forceMinVersion;

    /**
     *提示更新最低版本
     */
    private Integer tipMinVersion;

    /**
     *弹窗间隔时间（单位：天）
     */
    private Integer popTime;

    /**
     *下载地址
     */
    private String downloadUrl;

    /**
     *文件数字签名
     */
    private String sign;

    /**
     *更新内容
     */
    private String updateContent;

    /**
     *状态(1：已发布，2：已取消）
     */
    private Integer status;

    /**
     *创建时间
     */
    private Date createDate;

    /**
     *修改时间
     */
    private Date updateDate;

    /**
     *平台类型
     */
    private String platform;



    public void setId(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }

    public void setVersion(Integer version){
        this.version = version;
    }

    public Integer getVersion(){
        return version;
    }

    public void setInVerName(String inVerName){
        this.inVerName = inVerName == null ? null : inVerName.trim();
    }

    public String getInVerName(){
        return inVerName;
    }

    public void setOutVerName(String outVerName){
        this.outVerName = outVerName == null ? null : outVerName.trim();
    }

    public String getOutVerName(){
        return outVerName;
    }

    public void setTitle(String title){
        this.title = title == null ? null : title.trim();
    }

    public String getTitle(){
        return title;
    }

    public void setForceMinVersion(Integer forceMinVersion){
        this.forceMinVersion = forceMinVersion;
    }

    public Integer getForceMinVersion(){
        return forceMinVersion;
    }

    public void setTipMinVersion(Integer tipMinVersion){
        this.tipMinVersion = tipMinVersion;
    }

    public Integer getTipMinVersion(){
        return tipMinVersion;
    }

    public void setPopTime(Integer popTime){
        this.popTime = popTime;
    }

    public Integer getPopTime(){
        return popTime;
    }

    public void setDownloadUrl(String downloadUrl){
        this.downloadUrl = downloadUrl == null ? null : downloadUrl.trim();
    }

    public String getDownloadUrl(){
        return downloadUrl;
    }

    public void setSign(String sign){
        this.sign = sign == null ? null : sign.trim();
    }

    public String getSign(){
        return sign;
    }

    public void setUpdateContent(String updateContent){
        this.updateContent = updateContent == null ? null : updateContent.trim();
    }

    public String getUpdateContent(){
        return updateContent;
    }

    public void setStatus(Integer status){
        this.status = status;
    }

    public Integer getStatus(){
        return status;
    }

    public void setCreateDate(Date createDate){
        this.createDate = createDate;
    }

    public Date getCreateDate(){
        return createDate;
    }

    public void setUpdateDate(Date updateDate){
        this.updateDate = updateDate;
    }

    public Date getUpdateDate(){
        return updateDate;
    }

    public void setPlatform(String platform){
        this.platform = platform == null ? null : platform.trim();
    }

    public String getPlatform(){
        return platform;
    }


}


